//
//  Person.h
//  练习
//
//  Created by dllo on 16/2/25.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
{
    NSString *_name;
    NSString *_sex;
    NSInteger _age;
}

-(void)setName:(NSString *)name;
-(NSString *)name;

-(void)setSex:(NSString *)sex;
-(NSString *)sex;

-(void)setAge:(NSInteger)age;
-(NSInteger)age;

- (void)sayHi;


-(instancetype)initWithAge:(NSInteger)age;

+(id)personWithSex:(NSString * )sex;





@end
